/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BD;

import java.io.Serializable;

/**
 *
 * @author Angelo
 */
public class ConfiguracionMySql implements Serializable {

    private String user;
    private String pw;
    private String dataBaseName;
    private String host;
    private String url;

    public ConfiguracionMySql(String user, String pw, String dataBaseName, String host) {
        this.user = user;
        this.pw = pw;
        this.dataBaseName = dataBaseName;
        this.host = host;
        this.url = "jdbc:mysql://" + this.host + "/" + this.dataBaseName;
    }

    public ConfiguracionMySql() {
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPw() {
        return pw;
    }

    public void setPw(String pw) {
        this.pw = pw;
    }

    public String getDataBaseName() {
        return dataBaseName;
    }

    public void setDataBaseName(String dataBaseName) {
        this.dataBaseName = dataBaseName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
